﻿using System.Threading.Tasks;

namespace Sidvall.WorkItemManager.Data
{
    public partial interface IWorkItemSensor : Sidvall.Data.IDataRowContextProvider
    {
        string Description { get; set; }
        string Name { get; set; }
        string Value { get; set; }
        System.Nullable<System.DateTime> ValueTimestamp { get; set; }
        long WorkItemId { get; set; }
        System.Nullable<long> WorkItemSensorId { get; set; }
        IWorkItem WorkItem { get; set; }
        System.Collections.Generic.IEnumerable<IWorkItemSensorLog> WorkItemSensorLogs { get; }
        void SetWorkItemSensorLogs(Sidvall.Data.IDataRowProvider<IWorkItemSensorLog> items);
    }
}